* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.main-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #2196f3;
}

.search-section {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-group {
    display: flex;
    gap: 10px;
}

.search-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    width: 200px;
}

select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    min-width: 100px;
}

.date-filter-section {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.date-filter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.year-select, .month-select, .day-select {
    min-width: 80px;
}

.date-separator {
    color: #666;
}

.search-btn {
    background-color: #2196f3;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-btn:hover {
    background-color: #1976d2;
}

.reset-btn {
    background-color: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.reset-btn:hover {
    background-color: #e0e0e0;
}

.content-section {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.table-header h2 {
    font-size: 18px;
    color: #333;
}

.add-issue-btn {
    background-color: #4caf50;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.add-issue-btn:hover {
    background-color: #43a047;
}

.issues-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.issues-table th,
.issues-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.issues-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #666;
}

.issues-table tr:hover {
    background-color: #f8f9fa;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-processing {
    background-color: #e3f2fd;
    color: #1976d2;
}

.status-pending {
    background-color: #fff3e0;
    color: #f57c00;
}

.status-completed {
    background-color: #e8f5e9;
    color: #43a047;
}

.status-closed {
    background-color: #f5f5f5;
    color: #757575;
}

.priority-urgent {
    color: #f44336;
    font-weight: 500;
}

.priority-normal {
    color: #ff9800;
    font-weight: 500;
}

.priority-low {
    color: #4caf50;
    font-weight: 500;
}

.action-btn {
    padding: 4px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    margin-right: 8px;
}

.edit-btn {
    background-color: #2196f3;
    color: white;
}

.delete-btn {
    background-color: #f44336;
    color: white;
}

.pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    font-size: 14px;
}

.page-size {
    min-width: 120px;
    margin-left: 10px;
}

.page-buttons {
    display: flex;
    gap: 8px;
}

.page-buttons button {
    padding: 6px 12px;
    border: 1px solid #ddd;
    background-color: #fff;
    cursor: pointer;
    border-radius: 4px;
    min-width: 32px;
    text-align: center;
    font-size: 14px;
    color: #666;
}

.page-buttons button:hover {
    border-color: #2196f3;
    color: #2196f3;
}

.page-buttons button.active {
    background-color: #2196f3;
    color: white;
    border-color: #2196f3;
}

.page-buttons .prev-btn,
.page-buttons .next-btn {
    background-color: #fff;
    border: 1px solid #ddd;
    color: #666;
    padding: 6px 12px;
    min-width: 80px;
}

.page-buttons .prev-btn:hover,
.page-buttons .next-btn:hover {
    border-color: #2196f3;
    color: #2196f3;
}

.page-buttons .prev-btn:disabled,
.page-buttons .next-btn:disabled {
    background-color: #f5f5f5;
    border-color: #ddd;
    color: #ccc;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .search-section {
        flex-direction: column;
        gap: 15px;
    }
    
    .filter-group,
    .search-group {
        width: 100%;
    }
    
    .search-input {
        width: 100%;
    }
    
    .date-filter {
        flex-wrap: wrap;
    }
    
    .issues-table {
        display: block;
        overflow-x: auto;
    }
    
    .pagination {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
} 